package com.goodfox.web.generic.organization.service;

import java.util.List;
import java.util.Map;

import com.goodfox.web.generic.account.entity.Account;
import com.goodfox.web.generic.organization.entity.Organization;

/**
 * 组织机构Service
 * @author qin gt
 *
 */
public interface OrganizationService {
	
	/**
	 * 查询组织机构列表
	 * @param orgIdParent
	 * @return
	 */
	List<Organization> queryOrganizationListByParentId(String orgIdParent);
	
	/**
	 * 获取组织机构
	 * @param orgaId
	 * @return
	 */
	Organization getOrganization(String orgId);
	
	/**
	 * 新增组织机构
	 * @param map
	 */
	void addOrganization(Organization entity,String loginLogId);
	
	/**
	 * 修改组织机构
	 * @param map
	 */
	void modifyOrganization(Organization oldEny,Organization newEny,String loginLogId);
	
	/**
	 * 删除组织机构
	 * @param map
	 */
	void removeOrganization(Organization entity,String loginLogId);
}
